#include<iostream>
using namespace std;
int main()
{
    int n;
    cin>>n;
    while(n!=0)
    {

        if(n%2==0)
        cout<<"par";
        else
        cout<<"impar";
        cin>>n;
    }
        return 1;
}
